//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package test.classify.面向对象12;

public class test {
    public test() {
    }

    public static void main(String[] args) {
        Animal dog1 = new Dog(2, "黑色的");
        person p1 = new person("老王", 30);
        String something = "骨头";
        p1.keepPet(dog1, something);
        Animal cat1 = new Cat(3, "棕色的");
        person p2 = new person("无孩小仙女", 25);
        something = "鱼";
        p2.keepPet(cat1, something);
    }
}
